﻿@model CPRApp.Models.BookingModel

@{
    ViewBag.Title = "BookDelete";
}

<h2>BookDelete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>BookingModel</legend>

    <div class="display-label">BookingId</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.BookingId)
    </div>

    <div class="display-label">ReceiptDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ReceiptDate)
    </div>

    <div class="display-label">CustomerName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CustomerName)
    </div>

    <div class="display-label">ItemModel</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ItemModel)
    </div>

    <div class="display-label">ItemDetails</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ItemDetails)
    </div>

    <div class="display-label">ItemCondition</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ItemCondition)
    </div>

    <div class="display-label">EstimateDeliveryTime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EstimateDeliveryTime)
    </div>

    <div class="display-label">EstimateBillAmount</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EstimateBillAmount)
    </div>

    <div class="display-label">IssuesReported</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IssuesReported)
    </div>

    <div class="display-label">IsInWarrenty</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsInWarrenty)
    </div>

    <div class="display-label">Technicion</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Technicion)
    </div>

    <div class="display-label">EnteredBy</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EnteredBy)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "BookList")
    </p>
}
